package com.ruoyi.common.core.domain.entity;


import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 获取信息（包含基础信息，角色信息，权限信息，菜单信息）
 */
@Data
public class UserInfo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private AdminUserDO adminUserDO;

    private List<RoleDO> roles = new ArrayList<>();

    private List<MenuDO> menus = new ArrayList<>();

    private String dataScopeData;
}
